package security

import (
	"encoding/xml"

	"github.com/bububa/opentaobao/model"
)

// AlibabaSecurityJaqRpGetverifytokenAPIResponse 聚安全实人认证获取认证会话token API返回值
// alibaba.security.jaq.rp.getverifytoken
//
// 聚安全实人认证获取认证会话token
type AlibabaSecurityJaqRpGetverifytokenAPIResponse struct {
	model.CommonResponse
	AlibabaSecurityJaqRpGetverifytokenAPIResponseModel
}

// AlibabaSecurityJaqRpGetverifytokenAPIResponseModel is 聚安全实人认证获取认证会话token 成功返回结果
type AlibabaSecurityJaqRpGetverifytokenAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_security_jaq_rp_getverifytoken_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// token信息
	Data *RpInitResultBo `json:"data,omitempty" xml:"data,omitempty"`
}
